﻿using System;

namespace FirstFloor.Documents.Pdf
{
    /// <summary>
    /// The exception that is raised when a parse error occurs.
    /// </summary>
    public class PdfParseException
        : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:PdfParseException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="args">The args.</param>
        public PdfParseException(string message, params object[] args)
            : base(string.Format(message, args))
        {
        }
    }
}
